IRedisTypedTransactionAsync<T>
Redis transaction for typed client
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisTypedTransactionAsync<T> : IRedisTypedQueueableOperationAsync<T>
Methods
CommitAsync(CancellationToken)
View Source
Declaration
ValueTask<bool> CommitAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask<System.Boolean>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
RollbackAsync(CancellationToken)
View Source
Declaration
ValueTask RollbackAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |